package com.yuyou.fn.crm.mapper;

import com.github.wens.mybatisplus.mapper.AutoMapper;
import com.yuyou.fn.crm.entity.CrmStudentCommunicate;
import com.yuyou.fn.crm.vo.CommunicateSituationQueryVo;
import com.yuyou.fn.crm.vo.CommunicateSituationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * CrmStudentCommunicate 表数据库控制层接口
 *
 */
public interface CrmStudentCommunicateMapper extends AutoMapper<CrmStudentCommunicate,Long> {

    List<CommunicateSituationVo> findCommunicateSituation(@Param("communicateSituationQueryVo")CommunicateSituationQueryVo communicateSituationQueryVo, @Param("start") int start, @Param("end")int end);

    Integer countCommunicateSituation(@Param("communicateSituationQueryVo")CommunicateSituationQueryVo communicateSituationQueryVo);

    void updateCrmStudentCommunicateBatch(List<CrmStudentCommunicate> crmStudentCommunicates);
}